package org.xxpay.service.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.xxpay.core.entity.AlipayPayOrder;
import org.xxpay.core.entity.AlipayPayOrderExample;

import java.util.List;

public interface AlipayPayOrderMapper {
    int countByExample(AlipayPayOrderExample example);

    int deleteByExample(AlipayPayOrderExample example);

    int deleteByPrimaryKey(String payOrderId);

    int insert(AlipayPayOrder record);

    int insertSelective(AlipayPayOrder record);

    List<AlipayPayOrder> selectByExample(AlipayPayOrderExample example);

    AlipayPayOrder selectByPrimaryKey(String payOrderId);

    int updateByExampleSelective(@Param("record") AlipayPayOrder record, @Param("example") AlipayPayOrderExample example);

    int updateByExample(@Param("record") AlipayPayOrder record, @Param("example") AlipayPayOrderExample example);

    int updateByPrimaryKeySelective(AlipayPayOrder record);

    int updateByPrimaryKey(AlipayPayOrder record);
}